package com.fbs.wowo.finance.vo;

import com.fbs.wowo.base.BaseQuery;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 多条件查询 - 订单查询类
 */
public class BillQuery extends BaseQuery {
    // 账单所有人
    private String userId;
    // 单号
    private String tradeId;
    // 交易起始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    // 交易结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    // 收入 & 支出
    private Byte isIncome;
    // 产品类型
    private Byte productType;
    // 产品分类
    private Byte productCategory;
    // 支付方式
    private Byte tradeType;
    // 交易状态 - 成功 待入账 失败
    private Byte status;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTradeId() {
        return tradeId;
    }

    public void setTradeId(String tradeId) {
        this.tradeId = tradeId;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Byte getIsIncome() {
        return isIncome;
    }

    public void setIsIncome(Byte isIncome) {
        this.isIncome = isIncome;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getProductCategory() {
        return productCategory;
    }

    public void setProductCategory(Byte productCategory) {
        this.productCategory = productCategory;
    }

    public Byte getProductType() {
        return productType;
    }

    public void setProductType(Byte productType) {
        this.productType = productType;
    }

    public Byte getTradeType() {
        return tradeType;
    }

    public void setTradeType(Byte tradeType) {
        this.tradeType = tradeType;
    }
}
